// @flow
import configure from './configure';
// import type { Auth } from './modules/auth';
// import type { User } from './modules/user';
import type { Base } from './modules/base';
import type { Pay } from './modules/pay';
// import type { Posts } from './modules/posts';
// import type { Sample } from './modules/sample';
// import type { Listing } from './modules/listing';
// import type { ProfileState } from './modules/profile';
// import type { FollowState } from './modules/follow';
// import type { CommonState } from './modules/common';

const store = configure();

export default store;

export type State = {
  // auth: Auth,
  // user: User,
  base: Base,
  pay: Pay,
  // posts: Posts,
  // sample: Sample,
  // listing: Listing,
  // profile: ProfileState,
  // follow: FollowState,
  // common: CommonState,
};
